<?php

if (! function_exists('DefineFunction')) {
    /**
     * Define function.
     *
     * @param string $function
     * @param Closure $closure
     * @return bool
     */
    function DefineFunction(string $function, \Closure $closure) : bool {
        if (function_exists($function)) return false;

        $closure();

        return  true;
    }
}

if (! function_exists('PrintCoat')) {
    /**
     * Print variables.
     *
     * @param $content
     * @return void
     */
    function PrintCoat(...$content) {
        var_dump($content);
    }
}

